package com.bjpowernode.shop.constants;

import java.util.Arrays;
import java.util.List;

public interface GatewayConstants {

    //地址白名单
    List<String> WHITE_LIST = Arrays.asList(
            //登录请求
            "/oauth/token"
            //。。。请求
    );

    //请求头中token的KEY名
    String AUTHORIZATION_PREFIX = "Authorization";

    //token前缀
    String OAUTH_PREFIX = "oauth:jwt:";

    //utf8编码
    String JSON_UTF8_TYPE = "application/json; charset=UTF-8";
}
